<div class="m-page-title m-page-title-b1">
  <h2 class="u-tt">基本设置</h2>
</div>
<div class="m-form">
  <form name="" action="{$url|'AdminSetting/saveSettingData'}" method="post" id="form">
    <fieldset>
      <div>
        <div class="formitm">
          <label class="lab" >标题：</label>
          <div class="ipt">
            <input name="SITE_TITLE" type="text" class="u-ipt u-ipt-5" id="SITE_TITLE" value="{$info.SITE_TITLE}"   />
            <p>显示在会员中心头部的标题信息</p>
          </div>
        </div>
        <div class="formitm">
          <label class="lab" >外部注册：</label>
          <div class="ipt">
            <label class="u-opt">
              <input name="REG_STATUS" type="radio" value="1" {if="$info['REG_STATUS']==1"} checked="checked" {/if} />
              正常</label>
            <label class="u-opt">
              <input name="REG_STATUS" type="radio" value="0" {if="$info['REG_STATUS']==0"} checked="checked" {/if} />
              关闭</label>
            <p>是否接受会员注册</p>
          </div>
        </div>
        <div class="formitm">
          <label class="lab">默认注册组：</label>
          <div class="ipt">
            <select class="u-slt" id="REG_GROUP" name="REG_GROUP">
              <!--{loop="$groupList $vo"}-->
              <option {if="$info['REG_GROUP']==$vo['group_id']"} selected="selected"{/if} value="{$vo.group_id}">
              {$vo.cname} 
              </option>
              <!--{/loop}-->
            </select>
          </div>
        </div>
      </div>
      <div class="formitm formitm-1  formitm-2">
        <button class="u-btn" type="submit">保存配置</button>
        <button class="u-btn s-btn-c3" type="reset">重置</button>
        <span class="status" id="status">
        </p>
      </div>
    </fieldset>
  </form>
</div>
<script>
Do.ready('base','form','dialog','tabs',function() {
	$('#form').duxForm();
	$(".u-tabs li .tab-a").powerSwitch({classAdd : "tab-on"});
});
</script>